// @primary-color: rgb(83, 120, 255);
// @common-background: rgb(242, 242, 242);
// @font-color: rgb(120, 125, 158);

.stepsWrapper {
  display: flex;
  height: 32px;
  .stepCon {
    flex: 1;
    background-color: rgb(242, 242, 242);
    position: relative;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    margin-right: 4px;
    border-radius: 2px 0 0 2px;
    color: rgb(89, 89, 89);
    &:last-child {
      border-top-right-radius: 2px;
      border-bottom-right-radius: 2px;
    }
    &.active {
      background-color: rgb(83, 120, 255);
      color: #fff;
      &::after {
        border-left-color: rgb(83, 120, 255);
      }
    }
    &::after {
      content: '';
      position: absolute;
      left: 100%;
      border-width: 16px;
      border-style: solid;
      border-color: transparent;
      border-left-color: rgb(242, 242, 242);
      z-index: 10;
    }
    &:last-child::after {
      content: none;
    }
    &::before {
      content: '';
      position: absolute;
      left: 0;
      border-width: 16px;
      border-style: solid;
      border-color: transparent;
      border-left-color: #fff;
      z-index: 5;
    }
    &:first-child::before {
      content: none;
    }
  }
}
